{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}

{% block app_content %}
    <h1>登录</h1>
    <div class="row">
        <div class="col-md-4">
            {{ wtf.quick_form(form) }}
            <img class="verify_code" src="/auth/code" onclick="this.src='/auth/code?'+ Math.random()">           
        </div>       
    </div>   
    <p>新用户? <a href="{{ url_for('auth.register') }}">点击注册</a></p>
    <p>忘记密码?<a href="{{ url_for('auth.reset_password_request') }}">重置密码</a>
    </p>
{% endblock %}